﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace Certification
{
    public partial class Chapter7_DataTemplates : UserControl
    {
        public Chapter7_DataTemplates()
        {
            InitializeComponent();
        }
    }

    public class Composer
    {
        public Composer()
        {
        }

        private int m_birth;
        private Category2[] m_categories;

        public int Birth
        {
            get { return m_birth; }
            set { m_birth = value; }
        }
        public Category2[] Categories
        {
            get { return m_categories; }
            set { m_categories = value; }
        }

    }

    public class Category2
    {
        public Category2()
        {
        }
        public string Category
        {
            get { return m_name; }
            set { m_name = value; }
        }
        private string m_name;

        public Composer[] Composers
        {
            get { return m_composers; }
            set { m_composers = value; }
        }
        private Composer[] m_composers;
    }
}
